// 功能按钮容器
.function-buttons-container {
  display: flex;
  gap: 20rpx;
  margin-bottom: 30rpx;
  will-change: auto;
  contain: layout;
}

// 左侧主按钮
.left-button {
  flex: 1.2;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 50%, #FFB6B6 100%);
  border-radius: 24rpx;
  padding: 30rpx;
  display: flex;
  flex-direction: column;
  height: 320rpx;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8rpx 24rpx rgba(255, 107, 107, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center;
  
  &:active {
    transform: scale(0.96);
    box-shadow: 0 4rpx 12rpx rgba(255, 107, 107, 0.4);
  }
  
  .button-icon {
    margin-bottom: 20rpx;
    
    .icon-text {
      font-size: 48rpx;
      filter: drop-shadow(0 2rpx 4rpx rgba(0, 0, 0, 0.2));
    }
  }
  
  .button-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    .button-title {
      font-size: 36rpx;
      font-weight: bold;
      color: white;
      margin-bottom: 12rpx;
      text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.2);
      line-height: 1.2;
    }
    
    .button-subtitle {
      font-size: 24rpx;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 12rpx;
      line-height: 1.3;
    }
    
    .button-desc {
      font-size: 20rpx;
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.2;
      letter-spacing: 0.5rpx;
    }
  }
  
  // 装饰性元素
  &::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: rotate(45deg);
    will-change: auto;
  }
  
  // 防止影响其他元素
  contain: layout style;
  isolation: isolate;
}

// 右侧按钮组
.right-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20rpx;
  contain: layout;
}

.right-button {
  flex: 1;
  border-radius: 20rpx;
  padding: 24rpx;
  display: flex;
  align-items: center;
  gap: 16rpx;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-origin: center;
  
  &:active {
    transform: scale(0.96);
  }
  
  // 防止影响其他元素
  contain: layout style;
  isolation: isolate;
  
  .button-icon {
    width: 60rpx;
    height: 60rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12rpx;
    
    &.small {
      width: 50rpx;
      height: 50rpx;
    }
    
    .icon-text {
      font-size: 28rpx;
      filter: drop-shadow(0 1rpx 2rpx rgba(0, 0, 0, 0.2));
    }
  }
  
  .button-content {
    flex: 1;
    
    .button-title {
      font-size: 28rpx;
      font-weight: bold;
      color: white;
      margin-bottom: 4rpx;
      text-shadow: 0 1rpx 2rpx rgba(0, 0, 0, 0.2);
      line-height: 1.3;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      
      .title-main {
        font-size: 24rpx;
        font-weight: 600;
        letter-spacing: 1rpx;
      }
      
      .title-sub {
        font-size: 28rpx;
        font-weight: bold;
        margin-top: 2rpx;
      }
    }
    
    .button-subtitle {
      font-size: 20rpx;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.2;
      margin-top: 2rpx;
    }
  }
}

.top {
  background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
  box-shadow: 0 6rpx 20rpx rgba(78, 205, 196, 0.3);
}

.bottom {
  background: linear-gradient(135deg, #A8E6CF 0%, #7FCDCD 100%);
  box-shadow: 0 6rpx 20rpx rgba(168, 230, 207, 0.3);
}

// 按钮悬停效果
.button-hover {
  opacity: 0.8;
  transform: scale(0.98) !important;
}
